package chb.microservice.hystrix.dashboard;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.netflix.eureka.EnableEurekaClient;
import org.springframework.cloud.netflix.hystrix.dashboard.EnableHystrixDashboard;
import org.springframework.cloud.netflix.turbine.EnableTurbine;

/**
 * 
 * ClassName: DashboardApp<br>
 * Description: TODO .<br>
 * Reason: TODO ADD REASON(可选) <br>
 *
 * @author dengw
 * @date: 2017年3月15日 上午10:09:44
 * @version V1.0
 * @since JDK 1.8
 */
@SpringBootApplication
@EnableHystrixDashboard
@EnableTurbine
@EnableEurekaClient
public class DashboardApp {
	private static final Logger logger = LoggerFactory.getLogger(DashboardApp.class);

	public static void main(String[] args) {
		logger.info("服务器：开始启动");
		SpringApplication.run(DashboardApp.class, args);	 
		logger.info("服务器：启动完毕");
	}
}
